home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Utilities / vim-5.1 / src / testdir / test32.in < prev    next >
Encoding:
Text File  |  1998-01-18  |  1.0 KB  |  54 lines

  1. Test for insert expansion
  2.  
  3. :se cpt=.,w
  4. * add-expands (word from next line) from other window
  5. * add-expands (current buffer first)
  6. * Local expansion, ends in an empty line (unless it becomes a global expansion)
  7. * starts Local and switches to global add-expansion
  8. :se cpt=.,w,i
  9. * i-add-expands and switches to local
  10. * add-expands lines (it would end in an empty line if it didn't ignored it self)
  11. :se cpt=kMakefile
  12. * checks k-expansion, and file expansion
  13. :se cpt=w
  14. * checks make_cyclic in other window
  15. :se cpt=u nohid
  16. * checks unloaded buffer expansion
  17. * checks adding mode abortion
  18. :se cpt=t,d
  19. * tag expansion, define add-expansion interrupted
  20. * t-expansion
  21.  
  22. STARTTEST
  23. :se nocp cpt=.,w|$-2,$w!Xtestfile
  24. nO#include "Xtestfile"
  25. ru
  26. O
  27. 
  28. 
  29. :se cpt=.,w,i
  30. kOM
  31.   
  32. :se cpt=kXtestfile
  33. O
  34. :se cpt=w
  35. OST
  36. :se cpt=u nohid
  37. oOEN
  38. unl
  39. :se cpt=t,d def=^\\k* tags=Xtestfile
  40. O
  41. a
  42. :!rm Xtestfile
  43. :wq! test.out
  44. ENDTEST
  45.  
  46. start of testfile
  47. run1
  48. run2
  49. end of testfile
  50.  
  51. test11    36Gepeto    /Tag/
  52. asd    test11file    36G
  53. Makefile    to    run
  54.